﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using WeChat.Common;
using WeChat.Model;

namespace WeChat.ViewModel
{
    class CollectContentViewModel : NotifyBase
    {
        public ObservableCollection<CollectListModel> CollectList { get; set; } = new ObservableCollection<CollectListModel>();

        public CollectContentViewModel()
        {
            this.GetCollectList();
        }

        private void GetCollectList()
        {
            for (int i = 1; i <= 10; i++)
            {
                this.CollectList.Add(new CollectListModel { CollectListId = i, CollectListDate = $"星期{i}", CollectListName = $"昵称{i}", CollectListContent = "高考不是结束，而是新的开始，它像是一场特别的仪式，带你进入人生下一站。gagagaggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg" });
            }
        }
    }
}
